#include "MainState.h"
#include "Game.h"

/*
FMod Audio demo by Adrian May ver 1 03/2010

Coding standard:
Prefixes in order:
The.. = Singleton
m_ = member
p = pointer
b = bool
v = vector
mat = matrix

CamelCase = variable names

Suffixes:
map = map

REMEMBER: L before strings, unicode.
*/

int main()
{

	TheGame::Instance()->Init("Adrian's FMOD Mixing desk",1280,1024,32,false);


	TheGame::Instance()->ChangeState( Singleton<MainState>::Instance() );
	// main loop
	while (TheGame::Instance()->Running())
	{
		TheGame::Instance()->Update();
		TheGame::Instance()->Draw();
	}
	// cleanup the engine
	TheGame::Instance()->Cleanup();
	return 0;
}